package com.xqboss.apps.dto.hama;

import com.xqboss.apps.dto.PageDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import java.io.Serializable;

/**
 * <p>
 * 运动场投装备配置
 * </p>
 *
 * @author admin
 * @since 2024-02-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="WebHamaMixConfigDto", description="运动场投装备配置")
public class WebHamaMixConfigDto<T> extends PageDto<T> implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "藏品名称")
    private String nftName;

    @ApiModelProperty(value = "1启用 2禁用")
    @Min(value = 1,message = "1启用")
    @Max(value = 2,message = "2禁用")
    private Integer state;
}
